//
//  SLChatTextCell.h
//  MyChatDemo
//
//  Created by DragonYao on 2017/9/21.
//  Copyright © 2017年 DragonYao. All rights reserved.
//

#import "SLChatBaseCell.h"

@interface SLChatTextCell : SLChatBaseCell

@property (nonatomic, strong) UILabel *contextLabel;//消息内容

- (void)layoutFrameWithText:(NSString *)text
               withNickname:(NSString *)nickname
                fromFriends:(BOOL)isFriend;
/**
 *  根据文本返回cell高度
 */
+ (CGFloat)cellHeight:(XMPPMessageArchiving_Message_CoreDataObject *)msg;

@end
